package com.huike.review.service;

import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.HashMap;
import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {

    int add(Review review);

    int save(Review review);


    int delete(Long id);

    int update(Review review);

    List<Review> page();

    Review selectById(Long id);


}
